<?php
function do_something(iterable $iter = [])
{
    foreach ($iter as $item) {
        ...
    }
}
